<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!doctype html>
<html lang="zh-CN">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
		<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<link href="css/bootstrap.css" rel="stylesheet">

	<style  type="text/css">
           
			form {

				margin: 0;

			}

			textarea {

				display: block;

			}
  .body{
     background-img:url(img/333.png);
    background-color:#F5F5F5;
     margin-top:30px;
  }
  
  .btn-group{
  margin-top:-20px;
  padding-top:10px;
  }
 	</style>

<!-- 	<script type="text/javascript" src="js/jquery.js"></script> -->
			<script charset="utf-8" src="kindeditor-4.1.1/kindeditor-min.js"></script>

	

		<script>
	     	KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
					 '|', 'emoticons',  'link']
				});
			});
			
		
		</script>
	
</head>
<body class="body">

	<div class="navbar navbar-fixed-top"  >
		<div class="navbar-inner" >
		
			<div class="container">
			<marquee scrolldelay="40" direction="right" onmouseover="this.stop()" onMouseOut="this.start()">
				<a class="brand" href="main.jspx" style="color:red;margin-top:0px;">凯盛项目管理系统  欢迎你的登陆！</a>
				</marquee>
		
				
			</div>
		</div>
	</div>
	
	
	<div class="container" id="s" >
	  <div class="row"  >
		<div class="span3" >
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header">新Apple总部项目</li>
				  <li class="divider"></li>
				  <li class="active"><a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}"><i class="icon-white icon-home"></i>最新动态</a></li>
				  <li><a href="goal.jspx?_m=s1"><i class="icon-flag"></i>目标</a></li>
				  <li><a href="document.jspx?_m=d1"><i class="icon-folder-open"></i>资料库</a></li>
				  <li><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
				  <li><a href="contact.jspx?_m=c5"><i class="icon-user"></i>联系人</a></li>
				  <li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
				  <!-- <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li> -->
				  <li><a href="pass.jspx?m=x"><i class="icon-warning-sign"></i>修改密码</a></li>
				  <li><a href="out.jspx"><i class="icon-cog"></i>退出</a></li>
				</ul>
			</div>
		</div>
		
		<div class="span6">
		  
		  	<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;"  >
				<li class="active">
					<i ><img src="img/send_weibo.png"></i>
				</li>
			</ul>
			<div class="wall" >
				<form style="margin:0px" action="message.jspx"  method="post"  >
				     
					<textarea name="content" id="" style="width:415px;visibility:hidden;" ></textarea>
					<p>
				您当前输入了 <span class="word_count2">0</span>
					<button class="btn btn-primary">发布</button>
				</form>
			</div>


			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:10px">
				<li class="active">
					<i class="icon-th"></i>信息流
				</li>
			</ul>
			
			<div class="wall">
			<c:if test="${fn:length(pager.result) == 0 }">
			<tr>
				<td>没有任何信息</td>
			</tr>
		</c:if>
				<c:forEach items="${requestScope.pager.result}"  var="p">
				<h4>${p.employee.username} &nbsp;&nbsp;&nbsp; ${p.createtime}</h4>
    	<p>
    		${p.content }
    		                       <div>${p.state}     <a href="pro.jspx?_m=del&mid=${p.id}" title="删除"><i class="icon-trash"></i></a>	</div>
    		 	                       
    	</p>
		   
				</c:forEach>
					<c:choose>
  		<c:when test="${pager.nowPageNum != 1 }">
  			  <a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}&p=${pager.nowPageNum - 1 }">上一页</a>
  		</c:when>
  		<c:otherwise>
  			上一页
  		</c:otherwise>
  	</c:choose>
  	<c:choose>
  		<c:when test="${pager.nowPageNum != pager.totalPages }">
  			<a href="pro.jspx?_m=lm&id=${sessionScope.mypro.id}&p=${pager.nowPageNum + 1 }">下一页</a>	
  		</c:when>
  		<c:otherwise>
  			下一页
  		</c:otherwise>
  	</c:choose>
			</div>
    
  
  	
    


		</div>
		<div class="span3" id="sss">
			<div class="box">
				<div class="head">我的任务</div>
				<ul>
				<c:forEach items="${requestScope.listtasks}" var="t">
					<li><a href="task.jspx?_m=t3&taskid=${t.id}">${t.name}</a></li>
					</c:forEach>
					<!-- <li><a href=""></a>任务1</li>
					<li><a href=""></a>任务1</li> -->
				</ul>
			</div>
		</div>
	  </div>
	</div>

</body></html>